package com.esun.payment_api.mapper;

import com.esun.payment_api.dao.InvFormDetail;
import com.esun.payment_api.domain.InvForm;
import com.esun.payment_api.dto.InvFormQueryParam;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface InvFormDetailMapper {


    List<InvForm> getList(@Param("queryParam") InvFormQueryParam queryParam);

    long count();

    int deleteByIds(List<Integer> ids);

    int updateByIds(List<Integer> ids);

    InvFormDetail getDetail(@Param("id") Integer id);

    List<InvForm> getListByAny(@Param("words") String words);

    InvFormDetail getInvDetail(@Param("userId") Short userId, @Param("id") Integer id);
}